hep.analysis
Class Partition
java.lang.Object
|
+--java.util.Observable
|
+--hep.analysis.Partition
- All Implemented Interfaces:
- OneDFillable, java.io.Serializable, StatisticsProvider, TwoDFillable
- Direct Known Subclasses:
- Abstract1DPartition, Abstract2DPartition, PartitionFactory
- public abstract class Partition
- extends java.util.Observable
- implements java.io.Serializable, TwoDFillable, OneDFillable, StatisticsProvider
The base class for all partitions. A partition is used by all histograms
to determine binning of data.
- See Also:
Abstract1DPartition
,
Abstract2DPartition
, Serialized Form
Method Summary |
abstract void |
clear()
Resets the partition to default settings. |
void |
destroy()
Indicate that this partition is no longer needed. |
abstract void |
done()
Called when event loop is finished; should send a final update
of any range and/or data change. |
Style |
getStyle()
Get the style associated with this partition |
abstract Partition |
makeCopy()
Make a copy of this partition, maintaining the partition class and
initial state, but not the data stored in the partition. |
void |
setStyle(Style style)
Associate a style with this partition |
Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_owner
protected transient Histogram m_owner
DOUBLE
public static final int DOUBLE
- Constants used to mark the axis type
STRING
public static final int STRING
DATE
public static final int DATE
INTEGER
public static final int INTEGER
DELTATIME
public static final int DELTATIME
HORIZONTAL_AXIS
public static final int HORIZONTAL_AXIS
VERTICAL_AXIS
public static final int VERTICAL_AXIS
Partition
public Partition()
clear
public abstract void clear()
- Resets the partition to default settings.
- Specified by:
clear
in interface TwoDFillable
done
public abstract void done()
- Called when event loop is finished; should send a final update
of any range and/or data change.
destroy
public final void destroy()
- Indicate that this partition is no longer needed.
makeCopy
public abstract Partition makeCopy()
- Make a copy of this partition, maintaining the partition class and
initial state, but not the data stored in the partition.
getStyle
public Style getStyle()
- Get the style associated with this partition
- See Also:
Style
setStyle
public void setStyle(Style style)
- Associate a style with this partition
- See Also:
Style